package com.blb.zy_community.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.blb.zy_community.entity.ZyCommunity;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 小区  服务类
 * </p>
 *
 * @author 二组
 * @since 2023-06-18
 */
public interface IZyCommunityService extends IService<ZyCommunity> {
    /**
     * 分页查询小区信息
     * @param page
     * @param communityName
     * @param communityCode
     * @return
     */
    Page<ZyCommunity> selectZyCommunityPage(Page<ZyCommunity> page, String communityName, String communityCode , String communityId);

    /**
     * 根据小区序号数组，批量删除
     * @param communityId
     */
    void deleteCommunities(Long[] communityId);
}
